package com.ppt.android.base.ktx

import kotlin.math.abs

/**
 *
 * @author ZouJiaCai
 * @since 2023/5/26 10:14
 */
fun Double?.isZero(): Boolean {
    if (this == null) return true
    this.apply {
        return abs(this) < 0.0000001
    }
}